package com.piedra.designpattern.strategy;

public class Context {
	
	private Strategy myStrategy;
	
	public Context(Strategy strategy){
		myStrategy = strategy;
	}
	
	public Double getPrice(Double price){
		return myStrategy.countPrice(price);
	}

}
